package org.sample.ws;

import org.springframework.stereotype.Service;

import javax.jws.WebService;


@Service
@WebService
public class UserServerImpl implements IUserServer {
    @Override
    public UserDTO getUser(Long id) {
        System.out.println("getUser:id=" + id);
        UserDTO user = new UserDTO();
        user.setId(id);
        user.setAddress("上海市浦东新区");
        user.setAge(25);
        user.setName("gongj");
        return user;
    }
}

